# frozen_string_literal: true
# == Schema Information
#
# Table name: interviews
#
#  id          :integer          not null, primary key
#  village_id  :integer
#  building_id :integer
#  user_id     :integer
#  guest_id    :integer
#  entered_at  :datetime
#  exited_at   :datetime
#  car_code    :string
#  access_code :string
#  door_name   :string
#  keyword     :string
#  reason      :string
#  flag        :boolean          default(TRUE)
#  created_at  :datetime         not null
#  updated_at  :datetime         not null
#  card_code   :string
#
# Indexes
#
#  index_interviews_on_building_id  (building_id)
#  index_interviews_on_guest_id     (guest_id)
#  index_interviews_on_user_id      (user_id)
#  index_interviews_on_village_id   (village_id)
#

# frozen_string_literal: true
class Interview < ApplicationRecord
  belongs_to :village
  belongs_to :building
  belongs_to :user
  belongs_to :guest
end
